Xceed DataGrid for WPF v7.3 Documentation
In This Topic
    Applying a style to a PrintView
    In This Topic

    The following shows how to create a custom PrintTableView resource, which will cause all data cells to be displayed DeepPink:

    <xcdg:PrintTableView x:Key="customPrintView">
        <xcdg:PrintTableView.PageStyle>
        <Style>
            <Style.Resources>
                <Style TargetType="{x:Type xcdg:DataCell}">
                    <Setter Property="Background" Value="DeepPink" />
                </Style>
            </Style.Resources>
        </Style>
        </xcdg:PrintTableView.PageStyle>
    </xcdg:PrintTableView>

    Then, when you declare your DataGridControl:

    <xcdg:DataGridControl PrintView="{Binding Source={StaticResource customPrintView}}" />